package service.impl;

import POJO.BackendUser;
import mapper.BackendUserMapper;
import org.springframework.stereotype.Service;
import service.BackendUserService;

import javax.annotation.Resource;

/**
 * Created by 任 on 2019/1/19.
 */
@Service("backendUserService")
public class BackendUserServiceImpl implements BackendUserService{
@Resource
    BackendUserMapper backendUserMapper;
    @Override
    public BackendUser LoginBackendUser(String userCode, String userPassword) {
        return backendUserMapper.LoginBackendUser(userCode,userPassword);
    }
}
